]> dgit.raspbian.org Git - gnome-shell.git/commit
Add an active property to ShellButtonBox
authorOwen W. Taylor <otaylor@fishsoup.net>
Sat, 29 Aug 2009 16:00:20 +0000 (12:00 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Sat, 29 Aug 2009 19:20:18 +0000 (15:20 -0400)
commit45c600cd258c8a2e491ea207bca07242819c9fd7
treea1a8e10451f562181f41c58cc2a0f9997f4dedca
parent7fb8e2d0ef88be90444a6a1746b914aca6897623
Add an active property to ShellButtonBox

Add an 'active' property to ShellButtonBox. This allows ShellButtonBox
to be used as a "toggle button". It's up the application to connect
it to the ::activate signal; there's no default handling of this.

(It's seldom that the only time you want to toggle a toggle button
through the user interface, so you need some connection to the backend
data store in any case. Removing the default handling all-together
prevents weird interactions.)

When we have built-in styling for ShellButtonBox the 'active' state
would be one of the elements that would be affect the styling.

http://bugzilla.gnome.org/show_bug.cgi?id=593502
src/shell-button-box.c